package my_practice;

public class Welcome //class name = file name
{
	public static void main(String[] args)//method:entry point
	{
		String[] greeting = new String[3];//an array of String
		greeting[0]="Welcome to Core Java";
		greeting[1]="by Cay Horsmann";
		greeting[2]="and Gray Cornell";
		
		for(String g:greeting)//loop and output
		{
			System.out.println(g);
		}
	}
}
